package org.shiwen.week5.answer;

import java.util.Scanner;

public class Q1 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入圆的半径");
        Circle circle=new Circle();
        circle.radius=sc.nextDouble();
        System.out.println(circle.printArea(circle.radius));
    }
}
